<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>形辉管理信息系统</title>
<style type="text/css">
	body{background:url(${createLinkTo(dir:'imagestemp3',file:'cmsBg.gif')}) repeat-x #40556d; margin:0; padding:0;}
	table{font-size:12px}
	img{border:0px}	
	a:link {font-size:12px; text-decoration:none; color:#186B86;}
	a:visited {font-size:12px; text-decoration:none; color:#186B86;}
	a:hover {font-size:12px; text-decoration:none; color:#D86406;}	
</style>
</head>

<script>

function goPages(menuId)
{
	menuFrm.document.location.href = "leftPage?menuId="+menuId;
	//mainFrm.document.location.href = "mainPage";
}

function switchBar()
{
	if(document.getElementById("menuFrmTd").style.display=="none")
	{
		document.getElementById("menuFrmTd").style.display = "";
		document.getElementById("menuImg").src="../imagestemp3/menuClose.gif";
	}else
	{
		document.getElementById("menuFrmTd").style.display = "none";
		document.getElementById("menuImg").src="../imagestemp3/menuOpen.gif";
	}	
} 

</script>

<body scroll="no">
<table align="center" width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>    
    <td>
    
    	<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
    		
	      <tr>
	        <td width="7"><img src="../imagestemp3/cmsTopLeft.gif" width="7" height="77" /></td>
	        <td height="77">
	        	<table width="100%" height="77" border="0" cellpadding="0" cellspacing="0" style="background:url(../imagestemp3/cmsTopBg.gif) repeat-x;">
		            <tr>
		              <td width="5"><img src="../imagestemp3/cmsCornerLeft.gif" width="5" height="77"/></td>
		              <td>
        				<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
                            <tr>
                            	<td height="59" valign="bottom">
                            		<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
                            			<tr valign="bottom">
			                            	<td width="10" height="59">&nbsp;</td>
			                                <td width="52" align="right"><img src="../imagestemp2/grayLogo.gif"></td> 
			                                <td width="170" style="padding-bottom:8px"><img src="../imagesmain/graySystemName.gif"></td>
			                                <td width="100">&nbsp;</td>                                                                         
			                                <g:each in="${session.menu1}" status="idx" var="menu">                                                                        
			                                	<td width="50" style="padding-bottom:3px"><a href="javascript:goPages('${menu.id}')" style="color:#000000">${ menu.menuname?.encodeAsHTML() }</a></td>
			                                	<td width="19" align="center" style="padding-bottom:4px"><img src="../imagesmain/grayGe1.gif"></td>
			                                </g:each>
			                                <td width="50" style="padding-bottom:3px"><a href="javascript:goPages('')" style="color:#000000">系统帮助</a></td>
			                                <td>&nbsp;</td>
			                                <td width="64" align="right" style="padding-right:15px;padding-bottom:2px"><a href="javascript:top.document.location.href='../login/index'"><img src="../imagestemp2/cmsExit.gif"></a></td>
                                    	</tr>
                            		</table>
                            	</td>                                
                            </tr>
                            
                            <tr> 
                            	<td>
        							<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
        								<tr>
        									<td width="20" style="padding-top:3px"><img src="../imagesmain/grayThinbarShu2.gif"></td>
        									<td width="30" align="right"><img id="menuImg" src="../imagestemp2/menuClose.gif" onclick="switchBar()" style="cursor:pointer"></td>
                            				<td width="183" align="right" style="padding-top:3px"><img src="../imagesmain/grayZheng.gif"></td>
                            				<td align="right" style="padding-top:3px;padding-right:12px"><img src="../imagesmain/grayThinbarRight.gif" width="125" height="15" border="0" usemap="#Map"></td> 
        								</tr>
        							</table>
                            	</td>
                            </tr>
        				</table>
					  </td>
		              <td width="5"><img src="../imagestemp3/cmsCornerRight.gif" width="5" height="77" /></td>
		            </tr>
	        	</table>
	        </td>
	        <td width="7"><img src="../imagestemp3/cmsTopRight.gif" width="7" height="77" /></td>
	      </tr>
	      
	      <tr>
	        <td width="7" valign="top" style="background:url(../imagestemp3/cmsMiddleLeftBg.gif) repeat-y">&nbsp;</td>
	        <td bgcolor="#ffffff" style="border:solid 1px #9fa4a9">
      			<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
      				<tr>
					    <td id="menuFrmTd" name="menuFrmTd" width="155" align="center" valign="top" nowrap style="border-right:solid 1px #cdcdcd">
							<iframe name="menuFrm" src="leftPage.gsp?menuId=1" width="155" height="100%" border="0" frameborder="0" scrolling="no">
								浏览器不支持iframe
							</iframe>	
						</td>

					    <td align="center" valign="top">
					    	<iframe name="mainFrm" src="../frame/mainPage" width="100%" height="100%" border="0" frameborder="0" scrolling="auto"> 
					    		浏览器不支持iframe
					    	</iframe>
					    </td>
		    		</tr>
		    	</table>
	        </td>
	        <td valign="top" style="background:url(../imagestemp3/cmsMiddleRightBg.gif) repeat-y"><img src="../imagestemp3/cmsMiddleRight.gif" width="7" height="295" /></td>
	      </tr>
	      
	      <tr>
	        <td height="8"><img src="../imagestemp3/cmsBottomLeft.gif" width="7" height="8" /></td>
	        <td background="../imagestemp3/cmsBottomBg.gif"></td>
	        <td><img src="../imagestemp3/cmsBottomRight.gif" width="7" height="8" /></td>
	      </tr>
	      
    	</table>
    	
    </td>
  </tr>
</table>

</body>
</html>
